package com.smh.demo1.a12;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author shiminghui
 * @date 2025/4/16 18:18
 * @description: TODO
 */
public class A12Application {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Config.class);

        Target bean = context.getBean(Target.class);
        bean.read(1);


    }
}
